import url from '@/tool/index.js'

//选择教练
export const selectTeacher = (date,datetype) => { //
	return new Promise(resolve => {
		uni.request({
			url: url+'/api/user.order/choosecoach',
			data: {
				date:date,
				datetype:datetype
			},
			method: 'get',
			success: (res) => resolve(res.data),
		});
	})
}